<p>This tests rdar://problem/6545095 ASSERTION FAILED: LayoutBlockFlow.h:519: !o || o->isLayoutBlockFlow()</p>

<script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>

<div style="float: left; height: 1000px; width: 20px;"></div>
<span>
    <img style="display: block; width: auto;" />
</span>
